Skip to content

Conversation

@Hallberg-NOAA
Copy link
Member

Modified set_SIS_axes_info() to follow the pattern from MOM6 and take the units for the horizontal axes from the grid type. In most cases, this has the effect of changing the units from "degrees_E" and "degrees_N" to "degrees_east" and "degrees_north" to follow CMIP protocols, and to mirror changes that were made to MOM6 in 2017. All solutions are bitwise identical, but there are changes to the metadata in some output files, and some runtime parameters that had been read from both set_SIS_axes_info() and set_grid_metrics() in MOM6/src/initialization/MOM_grid_initialize.F90 are now only read in the latter routine. As a result of these changes, set_SIS_axes_info() no longer takes a param_file_type argument and the grid arguments are now intent(in).

MitchBushuk
MitchBushuk previously approved these changes Jan 7, 2026
Copy link
Contributor

@MitchBushuk MitchBushuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a useful and benign change. It makes SIS2 consistent with CMIP and MOM6 standards, which is a useful improvement.

  Modified set_SIS_axes_info to follow the pattern from MOM6 and take the units
for the horizontal axes from the grid type.  In most cases, this has the effect
of changing the units from "degrees_E" and "degrees_N" to "degrees_east" and
"degrees_north" to follow CMIP protocols, and to mirror changes that were made
to MOM6 in 2017.  All solutions are bitwise identical, but there are changes to
the metadata in some output files, and some runtime parameters that had been
read from both `set_SIS_axes_info()` and `set_grid_metrics()` in
MOM6/src/initialization/MOM_grid_initialize.F90 are now only read in the latter
routine.  As a result of these changes, `set_SIS_axes_info()` no longer takes
a `param_file_type` argument and the grid arguments are now `intent(in)`.
@Hallberg-NOAA
Copy link
Member Author

This PR has passed pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/SIS2/-/pipelines/29868.

Copy link
Member

@adcroft adcroft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful!

@adcroft adcroft merged commit db856f3 into NOAA-GFDL:dev/gfdl Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants